class TaobaoConfig < ActiveRecord::Base
  attr_accessible :name, :keyword, :amount, :category_id, :taobao_category_id, :cid, :tag_ids, :version, :global_version
  belongs_to :category, :inverse_of => :taobao_configs
  belongs_to :taobao_category, :inverse_of => :taobao_configs
  has_and_belongs_to_many :tags
  
end
